<!-- $Id: goods_type_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MYSHOP 管理中心 - 新建商品类型 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<css file="__PUBLIC__/Admin/css/general.css" />
<css file="__PUBLIC__/Admin/css/main.css" />
<script type="text/javascript" src="__PUBLIC__/Admin/js/transport.js"></script>  
<script type="text/javascript" src="__PUBLIC__/Admin/js/common.js"></script>
</head>
<body>

<h1>
  <span class="action-span"><a href="{:U('index')}">商品类型列表</a></span>
  <span class="action-span1"><a href="index.php?act=main">MYSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 新建商品类型 </span>
  <div style="clear:both"></div>
</h1>

<script type="text/javascript" src="__PUBLIC__/Admin/js/utils.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/validator.js"></script>

<div class="main-div">
  <form action="{:U('runAddType')}" method="post" name="theForm" onsubmit="return validate();">
    <table cellspacing="1" cellpadding="3" width="100%">
      <tr>
        <td class="label">商品类型名称:</td>
        <td><input type="text" name="name" value="" size="40" />
        <span class="require-field">*</span></td>
      </tr>
      
      <tr align="center">
        <td colspan="2">
          <input type="submit" value=" 确定 " class="button" />
          <input type="reset" value=" 重置 " class="button" />
        </td>
      </tr>
    </table>
  </form>
</div>

<script type="text/javascript">
<!--

onload = function() {
  document.forms['theForm'].elements['cat_name'].focus();
  startCheckOrder();
}

function validate()
{
  var validator = new Validator('theForm');
  validator.required('cat_name', type_name_empty);

  return validator.passed();
}
  
//-->
</script>

<div id="footer">
共执行 1 个查询，用时 0.006369 秒，Gzip 已禁用，内存占用 3.601 MB<br />
版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。</div>

</body>
</html>